package com.richman.view;

import java.awt.BorderLayout;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.Vector;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

import com.richman.ps38.entity.BetAdyData;
import com.richman.ps38.entity.BetDvalue;
import com.richman.ps38.entity.HGPS38Event;
import com.richman.ps38.entity.SendData;

public class SpecialEventWindowPane extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 222L;
	
	public SpecialEventWindowPane(){
        intiComponent();  
	}
	JTabbedPane jTabbedpane = new JTabbedPane();  

	
	SpecialBetAlreadyPane specialBetAdyPane = new SpecialBetAlreadyPane();
	SpecialBetLogPane specialBetLogPane = new SpecialBetLogPane();
	BetDvaluePane bdp = new BetDvaluePane();
	//SpecialBrowserPanel sbp = new SpecialBrowserPanel();

    private void intiComponent()  
    {  
		setLayout(new BorderLayout());
		add(jTabbedpane);  
		
		jTabbedpane.add(bdp,"统计中心");
		jTabbedpane.add(specialBetLogPane,"特殊投注日志");
		jTabbedpane.add(specialBetAdyPane,"特殊进注记录");
		//jTabbedpane.add(sbp,"特殊皇冠账目");
		
        setBounds(100, 100, 1220, 630); 

    }


	public void updateSpecialBetAdyTable(Vector<BetAdyData> specialBetAdyDatas) {
		specialBetAdyPane.updateBetAdyTable(specialBetAdyDatas);
	}

	public void updateSpecialBetLogTable(Vector<BetAdyData> specialBetLogDatas) {
		specialBetLogPane.updateBetLogTable(specialBetLogDatas);
	}
	
	public void updateBetDvalueTable(Vector<BetDvalue> bdvalues) {
    	bdp.updateBetDvalueTable(bdvalues);
    }

}
